package com.wiki4j.gdo.type;

import java.math.BigDecimal;

import com.wiki4j.gdo.GDType;

public interface GDTypeBase extends GDType{
  public String toString(Object src);

  public Object from(Object value);

  public Object fromString(String value);

  public int toInt(Object src);

  public Object fromInt(int value);

  public long toLong(Object src);

  public Object fromLong(long value);

  public double toDouble(Object src);

  public Object fromDouble(double value);

  public boolean toBoolean(Object src);

  public Object fromBoolean(boolean value);

  public BigDecimal toBigDecimal(Object src);

  public Object fromBigDecimal(BigDecimal value);
}
